package com.iflytek.jcy.supervise.clue.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 *任务列表返回实体类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TaskEntity {
    /*id*/
    @TableId(value = "id")
    private Integer id;

    /*任务名称*/
    @TableField(value = "task_name")
    private String taskName;

    /*任务状态*/
    @TableField(value = "task_status")
    private String taskStatus;

    /*模型id*/
    @TableField(value = "model_id")
    private Integer modelId;

    /*模型名称*/
    @TableField(value = "model_name")
    private String modelName;

    /*数据集id*/
    @TableField(value = "dataset_id")
    private Integer datasetId;

    /*数据集名称*/
    @TableField(value = "dataset_name")
    private String datasetName;

    /*任务类型*/
    @TableField(value = "type")
    private Integer type;

    /*任务开始时间*/
    @TableField(value = "task_start_time")
    private String taskStartTime;

    /*任务执行频率*/
    @TableField(value = "frequency")
    private Integer frequency;

    /*频率单位*/
    @TableField(value = "unit")
    private Integer unit;

    /*下次执行日期*/
    @TableField(value = "next_excute_time")
    private String nextEexcuteTime;

    /*创建人id*/
    @TableField(value = "create_login_id")
    private String createLoginId;

    /*创建人名称*/
    @TableField(value = "create_login_name")
    private String createLoginName;

    /*创建时间*/
    @TableField(value = "create_time")
    private String createTime;

    /*更新人id*/
    @TableField(value = "update_login_id")
    private String updateLoginId;

    /*更新人名称*/
    @TableField(value = "update_login_name")
    private String updateLoginName;

    /*更新时间*/
    @TableField(value = "update_time")
    private String updateTime;

    /*cron表达式*/
    @TableField(value = "cron")
    private String cron;

    /**
     * xxl-job平台的任务Id
     */
    @TableField(value = "cron")
    private Integer xxl_task_id;
}
